package com.meteor.convert;

import com.meteor.entity.Building;
import com.meteor.entity.OwnerRoom;
import com.meteor.vo.BuildingVO;
import com.meteor.vo.OwnerRoomVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface OwnerRoomConvert {

    OwnerRoomConvert INSTANCE = Mappers.getMapper(OwnerRoomConvert.class);

    OwnerRoomVO convert(OwnerRoom entity);

    OwnerRoom convert(OwnerRoomVO vo);

    List<OwnerRoomVO> convertList(List<OwnerRoom> list);

}
